package com.example.teesystem.mapper;

import com.example.teesystem.entity.RadarStatistic;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.Date;
import java.util.List;

/**
* @author 12510
* @description 针对表【t_radar_statistic】的数据库操作Mapper
* @createDate 2023-01-15 11:45:36
* @Entity com.example.teesystem.entity.RadarStatistic
*/
public interface RadarStatisticMapper extends BaseMapper<RadarStatistic> {
    @Select("select * from t_radar_statistic where course_id = #{courseId} and uid = #{uid} and update_time between #{startTime} and #{endTime}")
    List<RadarStatistic> getStudentRadarStatistic(int courseId, int uid, Date startTime, Date endTime);
}




